<?php
$this->pageTitle = Yii::t('view', 'Perizinan');
$this->breadcrumbs=array(
	Yii::t('view', 'Jenis Usaha')
);
?>
<div class="container">
    <div class="row">
        <div class="col-md-2">
            <?php if(Yii::app()->user->isOperatorMB() || Yii::app()->user->isOperator() || Yii::app()->user->isAdmin()):?>
            <div class="col-md-12 mini-bot-pad">
                <a href="<?php echo Yii::app()->createUrl('/perusahaan/category', array('id' => 1))?>">
                    <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/pmb.png" class="img-responsive">
                </a>
            </div>
            <?php endif;?>
            <?php if(Yii::app()->user->isOperatorGB() || Yii::app()->user->isOperator() || Yii::app()->user->isAdmin()):?>
            <div class="col-md-12 mini-bot-pad">
                <a href="<?php echo Yii::app()->createUrl('/perusahaan/category', array('id' => 2))?>">
                    <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/pgb.png" class="img-responsive">
                </a>
            </div>
            <?php endif;?>
            <?php if(Yii::app()->user->isOperatorHO() || Yii::app()->user->isOperator() || Yii::app()->user->isAdmin()):?>
            <div class="col-md-12 mini-bot-pad">
                <a href="<?php echo Yii::app()->createUrl('/perusahaan/category', array('id' => 3))?>">
                    <img src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/pho.png" class="img-responsive">
                </a>
            </div>
            <?php endif;?>
        </div>
        <div class="col-md-10">     
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title"><?php echo $jenisUsahaAlias;?></h3>
              </div>
              <div class="panel-body">
            <?php $this->widget('booster.widgets.TbGridView',array(
                'id'=>Yii::app()->controller->id.'-grid',
                'type' => 'striped bordered condensed',
                'dataProvider' => $model->search(),
                'responsiveTable' => true,
                'columns' => $this->getIndexList($model),
            )); 
            ?>
              </div>
            </div>
        </div>
    </div>
</div>
